import VueRouter from 'vue-router'

import HomeContainer from './components/tabber/HomeContainer.vue'
import SearchContainer from './components/tabber/SearchContainer.vue'
import ShopcarContainer from './components/tabber/ShopcarContainer.vue'
import MemberContainer from './components/tabber/MemberContainer.vue'

var router = new VueRouter({
    routes:[
        {path: '/', redirect: '/home'},
        {path: '/home',component: HomeContainer},
        {path: '/shopcar',component: ShopcarContainer},
        {path: '/member',component: MemberContainer},
        {path: '/search',component: SearchContainer}
    ],
    linkActiveClass: 'mui-active'
})

export default router